Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

451
Visualizações
Error during migration from npm to yarn - The engine "node" is incompatible with this module

in my project I am trying to migrate from npm to yarn.

I simply ran the "yarn" command to generate the "yarn.lock".

During the process, it showed me the following error:

error linearicons@1.0.2: The engine "node" is incompatible with this module.

Expected version "^12.13.0". Got "10.19.0" error Found incompatible module.

So I ran the command "npm remove linearicons" then "yarn" to generate the "yarn.lock" without error, then "yarn add linearicons". But it gives me the same error as above.

My Yarn version is 1.22.10

Node version : v10.19.0

What could I do to fix this problem? I don't understand what he wants

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

Update the node.js version :

Installation of nvm

$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
$ source ~/.bashrc

Looking for existent versions of node.js

$ nvm ls-remote

Installation of the last one (as of today)

$ nvm install v16.8.0

After that your issue should be fixed.

over 4 years ago · Santiago Trujillo Relatório

0

yarn install --ignore-engines

This worked for me, and it was showing this error:

 webpack-dev-server@4.5.0: The engine "node" is incompatible with this module. Expected version ">= 12.13.0". Got "10.19.0"

Final result after --ignore-engines

success Saved lockfile.
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda